package net.ericaro.neojavagen.expressions ;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;

import net.ericaro.neojavagen.expressions.InclusiveOrExpression ;

import net.ericaro.neojavagen.StringUtils;
		
/**
* <pre> ConditionalAndExpression :  InclusiveOrExpression && InclusiveOrExpression && ...  
*/
public class ConditionalAndExpression extends ArrayList<InclusiveOrExpression>  {
	
	public ConditionalAndExpression(){
		super();
	}
	
	public ConditionalAndExpression(InclusiveOrExpression ... components){
		this(Arrays.asList(components) );
	}
	public ConditionalAndExpression(Collection<InclusiveOrExpression> values ){
		super(values);
	}
	
	
	public String toString(){
		return StringUtils.toString(this, "&&", "", "");
	}

}
